home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / serien / purity / nr.5 / pascal / pcq-programme / game / collobjekt / collobjekt.doc < prev    next >
Text File  |  1995-04-19  |  2KB  |  28 lines

  1. Treffervergleich (O = Objekt, T = Trefferbereich)
  2.  
  3.     Ox1 >= Tx1 und Ox1 =< Tx2    == Ja ==>    Oy1 >= Ty1 und Oy1 <= Ty2   == Ja ==>   Treffer
  4.               !                         ^                !                       ^
  5.               !                         !                !                       !
  6.             Nein                        !              Nein                      !
  7.               !                         !                !                       !
  8.               V                         !                V                       !
  9.     Ox2 >= Tx1 und Ox2 =< Tx2    == Ja -+     Oy2 >= Ty1 und Oy2 <= Ty2   == Ja -+
  10.               !                         ^                !                       ^
  11.               !                         !                !                       !
  12.             Nein                        !              Nein                      !
  13.               !                         !                !                       !
  14.               V                         !                V                       !
  15.     Tx1 >= Ox1 und Tx1 =< Ox2    == Ja -+     Ty1 >= Oy1 und Ty1 <= Oy2   == Ja -+
  16.               !                         ^                !                       ^
  17.               !                         !                !                       !
  18.             Nein                        !              Nein                      !
  19.               !                         !                !                       !
  20.               V                         !                V                       !
  21.     Tx2 >= Ox1 und Tx2 =< Ox2    == Ja -+     Ty2 >= Oy1 und Ty2 <= Oy2   == Ja -+
  22.               !                                          !
  23.               !                                          !
  24.             Nein                                       Nein
  25.               !                                          !
  26.               V                                          V
  27.           Kein Treffer                               Kein Treffer
  28.